<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  <!-- <meta name="viewport" content="initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no"> -->
  <title>H5收银台</title>
  <script type="text/javascript" src='/jquery-1.8.3.min.js'></script>
  <script type="text/javascript" src='/rsa.js'></script>
  <script type="text/javascript" src='/encrypt.js'></script>
  <script type="text/javascript" src='/jsbn.js'></script>
  <script type="text/javascript" src='/prng4.js'></script>
  <script type="text/javascript" src='/rng.js'></script>
</head>
<script>
  window.publicKey =
    "c6580bb8a7a68ad52890a8d293d674e063003c733d1175ef5f46d98b240c754312eaadeac051597fbae5d5ecd4054a44e2a68ba8ddcc0412969ef3ddbaec078b241cca3db2a75080fa25819bc27abb0a2451e04db8e33720a84f23a3c0e791b1f72a4896a27a14303d6e1f2e93505bf95bbceb85acff139f4c5666f3ae9d53c3";
  window.doRSAEncrypt = function (input) {
    var rsa = new RSAKey();
    rsa.setPublic(window.publicKey, "10001");
    var res = rsa.encrypt(input);

    if (res == null) return input;
    return res;
  };
</script>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.js"></script>
</body>

</html>